<style>
    .order {
        position: relative;
        height: 100px;
    }

    .order.order-init .o-left {
        padding-left: 0;
        transition: all .15s ease-in-out;
    }

    .o-left {
        margin-left: 10px;
        float: left;
        width: 60%;
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .o-right {
        width: 20%;
        height: 144px;
        padding-top: 32px;
        padding-right: 10px;
        padding-bottom: 32px;
        overflow: hidden;
    }

    .o-price {
        padding-top: 15px;
        /*text-align: right;*/
        line-height: 26px;
    }

    .o-price strong {
        font-size: 18px;
        vertical-align: bottom;
        color: #e31613;
        margin: 0 3px;
    }

    .o-list {
        display: none;
        padding: 12px 0 25px 0;
        margin: 0 30px;
        clear: both;
        border-top: 1px solid #ddd;
    }

    .o-title {
        line-height: 26px;
        height: 26px;
        overflow: hidden;
        color: #333;
        font-weight: 400;
        font-size: 14px;
    }

    .o-tips {
        line-height: 20px;
        height: 20px;
    }

    .pw-box-ft {
        height: 60px;
        width: 330px;
        padding: 8px 0 8px 125px;
        background: #ff7674 url(//storage.360buyimg.com/payment-assets/pc/icon/icon-red.png) 50px 8px no-repeat;
    }

    .pw-box-ft p {
        margin: 0;
        font-size: 14px;
        line-height: 22px;
        color: #fff;
        font-weight: 700;
    }

</style>

<div class="panel panel-default panel-intro">
    {:build_heading()}
</div>

<div class="panel-body">
    <div class="row animated fadeInRight">
        <div class="col-md-offset-1 col-md-10">
            <div class="box box-primary">
                <div class="panel-body plans">
                    <div class="container">
                        <div class="col-md-4">
                            <h1>易简视源科技</h1>
                        </div>
                    </div>
                    <div class="container order clearfix order-init order-init-oldUser-noQrcode">
                        <div class="o-left"><h2 class="o-title">
                            {:__("Order submitted successfully, please pay as soon as possible! Order number")}：<em><span id="orderNum">{$elseInfo.orderNum}</span></em></h2>
                            <p class="o-tips">
                                <span class="o-tips-time" id="deleteOrderTip"></span>
                            </p>
                        </div>
                        <div class="o-right">
                            <div class="o-price">{:__("Amount payable")}<strong>{$elseInfo.payAmount}</strong>{:__("yuan")}</div>
                        </div>
                        <div class="o-list j_orderList" id="listPayOrderInfo">
                        </div>
                    </div>
                    <div class="container">
                        <div class="col-md-offset-1 col-md-5">
                            <h5 id="secondInfo">{:__("Distance QR code expired")}<span id="secondNum">1</span>{:__("seconds, please refresh the page to get the QR code again.")}</h5>
                            <div>
                                <img src="/admin/sponsor/sponsorbuy/qrcode?url={$elseInfo.payurl}" alt="">
                            </div>
                            <div class="pw-box-ft">
                                <p>{:__("Please use wechat to scan")}</p>
                                <p>{:__("Scan QR code payment")}</p>
                            </div>
                        </div>
                        <div class="col-md-4" style="border-left: 1px solid #CCCCCC;">
                            {switch name="$elseInfo.distinct"}
                            {case value="plan"}
                            <div class="title" style="width: 80%; height: 35px; border-bottom: #CCCCCC 1px solid;">
                                <h3>{$rows.planName}</h3>
                            </div>
                            <div style="margin-top: 10px">
                                <p style="margin-bottom: 13.7px;">{:__("Payment cost")}：￥{$rows.amount}</p>
                                <p style="margin-bottom: 13.7px;">{:__("Total order cost")}：￥{$rows.orderAmount}</p>
                                <p style="margin-bottom: 13.7px;">{:__("Start date")}：{$rows.startTime}</p>
                                <p style="margin-bottom: 13.7px;">{:__("End date")}：{$rows.endTime}</p>
                            </div>
                            {/case}
                            {default /}
                            {foreach $rows as $row}
                            <div class="title" style="width: 80%; height: 35px; border-bottom: #CCCCCC 1px solid;">
                                <h3>{$row.planName}</h3>
                            </div>
                            <div style="margin-top: 10px">
                                <p style="margin-bottom: 13.7px;">{:__("Payment cost")}：￥{$row.amount}</p>
                                <p style="margin-bottom: 13.7px;">{:__("Total order cost")}：￥{$row.orderAmount}</p>
                                <p style="margin-bottom: 13.7px;">{:__("Start date")}：{$row.startTime}</p>
                                <p style="margin-bottom: 13.7px;">{:__("End date")}：{$row.endTime}</p>
                            </div>
                            {/foreach}
                            {/switch}
                            <hr>
                        </div>
                    </div>
                    <hr>
                    <div class="firstStepContinueBtn hidden-xs" style="width: 80%">
                        <div class="btnDiv" style="margin-left: 70%;">
                            <a class="btn btn-default btn-lg cancelBtn" role="button" href="/admin/sponsor/sponsorbuy/list?lang={$config['language']}&lang={$config['language']}">{:__("Cancel")}</a>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
